package gptma.bo.dao.project;

import gptma.bo.dao.GenericDao;
import gptma.bo.model.project.Project;
import gptma.bo.model.request.ClientRequest;
import gptma.bo.model.task.Task;

import java.util.List;

public interface ProjectDao extends GenericDao<Project, Long> {

	List<String> completeProjectName(String partialName);

	List<ClientRequest> findRequests(Project project);

	Project findByName(String name);

	List<Project> findProjectsByName(String name);

	int findRequestCount(Project project);

	List<Task> findDirectlyAttachedTasks(Project project);

}
